<%--
  Created by IntelliJ IDEA.
  User: cos
  Date: 2022/9/29
  Time: 11:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fm" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<table>
    <thead>
    <tr>
        <th>员工编码</th>
        <th>员工姓名</th>
        <th>员工性别</th>
        <th>员工工资</th>
        <th>员工密码</th>
        <th>员工部门</th>
        <th>员工出生日期</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="e" items="${el}">
        <tr>
            <td>${e.eno}</td>
            <td>${e.ename}</td>
            <td>${e.esex}</td>
            <td>${e.salary}</td>
            <td>${e.pwd}</td>
            <td>${e.dno}</td>
            <td><fm:formatDate value="${e.bornDate}" pattern="yyyy-MM-dd"/></td>
        </tr>
    </c:forEach>
    </tbody>
</table>

</body>
</html>
